import app from '@system.app';
import router from '@system.router';

export default {
    data: {
        title: 'World',
        calendar: {
            time: '20:55',
            day: '2022年8月16日',
        },
        pushMsg: {
            topic: {
                state: '练习题', uri: 'pages/topic/topic'
            },
            myText: {
                state: '古诗文', uri: 'pages/myText/myText'
            },
        }
    },
    exit(){
        app.terminate()
    },
    route(e){
        router.replace({
            uri: e.uri
        });
    }
}
